package adv7.thread;

public class Thread2 implements Runnable {
	private String name;

	public Thread2(String n) {
		this.name = n;
	}

	@Override
	public void run() {
		for (int i = 1; i <= 20; i++) {
			System.out.println(name + " print " + i);
		}
	}

}
